package com.bawei.system.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Map;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("插入Es数据实体")
public class EsDocInsertVo extends EsDocBaseVo {

    @ApiModelProperty("数据唯一id")
    public String id;
    @ApiModelProperty(value = "数据内容",required = true)
    private Map<String,Object> data;
    @ApiModelProperty("是否立即刷新磁盘")
    private boolean reflush = true;

    private List<String> suggestions;



}
